package istar;
 

public class IsPartOfLink implements IActorLink{

	private String name;
	private IActor parent;
	
	public IsPartOfLink(String name, IActor parent){
		this.name = name;
		this.parent = parent;
	}
	
	public IsPartOfLink(String name, IActor parent, IActor son){
		this.name = name;
		this.parent = parent;
		//son.getLinks().add(this);
	}
	
	@Override
	public String getName() {
		return this.name;
	}

	@Override
	public IActor getParent() {
		return this.parent;
	}

	@Override
	public void setName(String value) {
		this.name = value;
	}

	@Override
	public void setParent(IActor value) {
		this.parent = value;
	}

}
